<!-- $Id: snatch_info.htm 16992 2010-01-19 08:45:49Z wangleisvn $ -->
{include file="pageheader.htm"}
{insert_scripts files="../js/utils.js,listtable.js,validator.js"}
<script type="text/javascript" src="../js/calendar.php?lang={$cfg_lang}"></script>
<link href="../js/calendar/calendar.css" rel="stylesheet" type="text/css" />
<div class="main-div">
<form method="post" action="" name="theForm" id="signinfo">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">{$lang.sign_name}：</td>
    <td><span>{$snatch.sign_name}</span></td>
  </tr>
  <tr>
    <td class="label">{$lang.sign_phone}：</td>
    <td><input type="text" name="sign_phone" size="30" value="{$snatch.sign_phone}" />
    </td>
  </tr>
  
  <tr>
    <td class="label">{$lang.sign_work}：</td>
    <td>
      <input type="text" name="sign_work" maxlength="60" size="40" value="{$snatch.sign_work}"  id="start_time_id" />
      
    </td>
  </tr>
  <tr>
    <td class="label">{$lang.sign_activity}：</td>
    <td>
      <span>{$snatch.activity_name}</span>
    </td>
  </tr>
  <tr>
    <td class="label">{$lang.sign_time}：</td>
    <td>
      <span>{$snatch.sign_time}</span>
    </td>
  </tr>
  <tr>
    <td class="label">{$lang.goodsid}：</td>
    <td>
        <select name="audit_id"  >
             {if $snatch.audit_status_name}
                        <option value="{$snatch.audit_status}" selected="selected">{$snatch.audit_status_name}</option>
                        <option value="1">未审核</option>
                        <option value="2">审核通过</option>
                        <option value="3">审核未通过</option>

                       
                {else}
                      <option value="0"> 
                         {$lang.select_please}
                      </option>
                       
            {/if}
               {foreach from=$audit_arr item=audit}
                            {$audit}
                        {/foreach}     
              
        </select>
       <br />
      
     </td>
  </tr>
  <tr>
    <td class="label">审核理由：</td>
     <td><textarea name="audit_content" cols="37" rows="6" style="margin-top: 10px">{$snatch.audit_content}</textarea></td>
  </tr> 
<!--   {if $snatch.audit_status_name eq "未审核"} 
       
  
  
  {else}
    <tr>
      <td class="label">{$lang.audit_time}：</td>
      <td>
        {$snatch.audit_time}
      </td>
    </tr>
  {/if} -->



 <!--  <tr>
    <td class="label">{$lang.desc}</td>
    <td><textarea  name="desc" cols="60" rows="4"  >{$snatch.act_desc}</textarea></td>
  </tr> -->

  <tr>
    <td colspan="2" align="center">
      <input type="submit" value="{$lang.button_submit}" class="button" id="yes" />
<!--       <input type="reset" value="{$lang.button_reset}" class="button" /> -->
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$snatch.act_id}" />
    </td>
  </tr>
</table>
</form>
</div>
<script language="JavaScript">
var params=$("#signinfo").serialize();
$('#yes').click(function(){
      // var act=$('#act').val();
      $.ajax({
               type: "POST",
               data:params,
               url: "sign.php?act=update",
               async: false,
               // dataType: "json",
               success: function (data) {
                // if(name != null && phone != null && work != null ){
                //  alert("报名成功，请等待审核！");
                // }else{
                //  alert("信息填写不完整！");
                // }
               }
          })


    })
</script>
{include file="pagefooter.htm"}